﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - GKBErpss</title>
    <link rel="stylesheet" href="~/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="~/fonts/iconfont.css"/>
    <link rel="stylesheet" href="~/css/main.css" />
</head>
<body>
    <div class="layui-layout layui-layout-admin" id="mainInfo">
        <div class="layui-header header">
            <div class="layui-main mag0">
                <a href="#" class="logo gkb-fl">客户管理系统</a>
                <!-- 显示/隐藏菜单 -->
                <a href="javascript:;" class="gkb-fl menu">
                    <i class="layui-icon layui-icon-shrink-right"></i>
                </a>
                @*<ul class="layui-nav topMenus gkb-fl">
                    <li class="layui-nav-item layui-this" data-menu="systemeSttings" pc>
                        <a href="javascript:;"><i class="layui-icon layui-icon-set-fill"></i><cite>系统设置</cite></a>
                    </li>
                </ul>*@
                <!-- 顶部右侧菜单 -->
                <ul class="layui-nav top_menu gkb-fr">
                    @*<li class="layui-nav-item" pc>
                            <a href="javascript:;" class="clearCache"><i class="layui-icon" data-icon="&#xe640;">&#xe640;</i><cite>清除缓存</cite><span class="layui-badge-dot"></span></a>
                        </li>
                        <li class="layui-nav-item lockcms" pc>
                            <a href="javascript:;"><i class="seraph icon-lock"></i><cite>锁屏</cite></a>
                        </li>*@
                    <li class="layui-nav-item" id="userInfo">
                        <a href="javascript:;">
                            <img src="/statics/1/face.jpg" class="layui-nav-img userAvatar" width="35" height="35" v-if="userInfo.userIcon != null && userIcon != ''">
                            <img src="/statics/1/face.jpg" class="layui-nav-img userAvatar" width="35" height="35" v-else>
                            <cite class="adminName">{{userInfo.userName}}</cite>
                            <span class="layui-nav-more" ></span>
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" data-url="page/user/userInfo.html"><i class="seraph icon-ziliao" data-icon="icon-ziliao"></i><cite>个人资料</cite></a></dd>
                            <dd><a href="javascript:;" data-url="page/user/changePwd.html"><i class="seraph icon-xiugai" data-icon="icon-xiugai"></i><cite>修改密码</cite></a></dd>
                            <dd><a href="javascript:;" class="showNotice"><i class="layui-icon">&#xe645;</i><cite>系统公告</cite><span class="layui-badge-dot"></span></a></dd>
                            <dd pc><a href="javascript:;" class="functionSetting"><i class="layui-icon">&#xe620;</i><cite>功能设定</cite><span class="layui-badge-dot"></span></a></dd>
                            <dd pc><a href="javascript:;" class="changeSkin"><i class="layui-icon">&#xe61b;</i><cite>更换皮肤</cite></a></dd>
                            <dd><a href="page/login/login.html" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>
        <div class="container">
            <main role="main" class="pb-3">
                <!-- 左侧导航 -->
                <div class="layui-side layui-bg-black">
                    <div class="user-photo">
                        <a class="img" title="我的头像"><img src="/statics/1/face.jpg" class="userAvatar"></a>
                        <p class="gkb-mt10" v-bind:title="userInfo.userFullName">{{userInfo.userName}}</p>
                    </div>
                    <div class="navBar layui-side-scroll" id="navBar">
                        <ul class="layui-nav layui-nav-tree">
                            <template v-for="(item,index) in menuList">
                                <li class="layui-nav-item" v-bind:class="index == 0?'layui-this':''">
                                    <a href="javascript:;" v-bind:data-url="item.url">
                                        <i class="iconfont" v-bind:class="item.ico"></i><cite>{{item.name}}</cite>
                                        <span class="layui-nav-more" v-if="item.child != null && item.child.length>0 "></span>
                                    </a>
                                    <template v-if="item.child!= null && item.child.length>0 ">
                                        <dl class="layui-nav-child">
                                            <template v-for="(second ,index) in item.child">
                                                <dd>
                                                    <a v-bind:data-url="second.url" target="_blank"><i class="iconfont" v-bind:class="second.ico"></i><cite>{{second.name}}</cite></a>
                                                </dd>
                                            </template>

                                        </dl>
                                    </template>
                                </li>
                            </template>

                            @*<li class="layui-nav-item layui-this">
                        <a data-url="page/main.html"><i class="layui-icon" data-icon=""></i><cite>后台首页</cite></a>
                    </li>
                    <li class="layui-nav-item">
                        <a data-url="page/news/newsList.html"><i class="seraph icon-text" data-icon="icon-text"></i><cite>文章列表</cite></a>
                    </li>
                    <li class="layui-nav-item">
                        <a data-url="page/img/images.html"><i class="layui-icon" data-icon=""></i><cite>图片管理</cite></a>
                    </li>
                    <li class="layui-nav-item layui-nav-itemed">
                        <a><i class="layui-icon" data-icon=""></i><cite>其他页面</cite><span class="layui-nav-more"></span></a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a data-url="page/404.html"><i class="layui-icon" data-icon=""></i><cite>404页面</cite></a>
                            </dd>
                            <dd>
                                <a data-url="page/login/login.html" target="_blank"><i class="layui-icon" data-icon=""></i><cite>登录</cite></a>
                            </dd>
                        </dl>
                    </li>*@
                        </ul>

                    </div>
                </div>
                <!-- 右侧内容 -->
                <div class="layui-body layui-form">
                    <div class="layui-tab gkb-mag0" lay-filter="bodyTab" id="top_tabs_box">
                        <ul class="layui-tab-title top_tab" id="top_tabs">
                            <li class="layui-this" lay-id=""><i class="layui-icon">&#xe68e;</i> <cite>后台首页</cite></li>
                        </ul>
                        <ul class="layui-nav closeBox">
                            <li class="layui-nav-item">
                                <a href="javascript:;"><i class="layui-icon caozuo">&#xe643;</i> 页面操作</a>
                                <dl class="layui-nav-child">
                                    <dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon">&#x1002;</i> 刷新当前</a></dd>
                                    <dd><a href="javascript:;" class="closePageOther"><i class="seraph icon-prohibit"></i> 关闭其他</a></dd>
                                    <dd><a href="javascript:;" class="closePageAll"><i class="seraph icon-guanbi"></i> 关闭全部</a></dd>
                                </dl>
                            </li>
                        </ul>
                        <div class="layui-tab-content clildFrame">
                            <div class="layui-tab-item layui-show">
                                <iframe src="~/System/Menu/Index"></iframe>
                            </div>
                        </div>
                    </div>
                </div>
                @RenderBody()
                @*<div class="layui-body layui-form">
            @RenderBody()
        </div>*@

            </main>
        </div>
    </div>

    <footer class="border-top footer text-muted">
        <div class="container">
            &copy; 2020 - GKBErps - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
        </div>
    </footer>
    <script src="~/lib/jquery/dist/jquery.min.js" type="text/javascript"></script>
    <script src="~/lib/layui/layui.js" type="text/javascript"></script>
    <script src="~/lib/vue/vue.min.js" type="text/javascript"></script>
    <script src="~/lib/layer/layer.js" type="text/javascript"></script>
    <script src="~/js/common.js" type="text/javascript"></script>
    <script src="/js/home.js" type="text/javascript"></script>"
    <script src="/js/serverpath.js" type="text/javascript"></script>"
    @RenderSection("Scripts", required: false)
</body>
</html>
